home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / Documents / NeXTAnswers / os.471 < prev    next >
Text File  |  1992-02-06  |  2KB  |  50 lines

  1. {\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f3\fmodern Courier;\f1\fmodern Ohlfs;}
  2. \paperw11440
  3. \paperh9000
  4. \margl120
  5. \margr120
  6. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ul0\fs28  nproc kernel process table\
  7.  \
  8. Q:  I get the error "out of processes".   How can I increase the size of  the kernel's process table?\
  9. \
  10. A:  
  11. \b Release 1.0:
  12. \b0   Increasing the size of the process table is done by increasing the value of the system variable nproc.  Nproc can be changed by explicitly specifying the value on the boot command line from the ROM monitor:\
  13. \
  14.  
  15. \f3 NeXT>
  16. \b bsd sdmach nproc=200
  17. \b0 \
  18.  
  19. \f0 \
  20. This will set nproc to the decimal number 200.  The value may be entered in decimal or in hexidecimal.  To enter the value in hexidecimal, precede the number with "0x".  The default  value is nproc=0x54 (which is 84 decimal).    The new size of nproc will stay in effect until you reboot the system.  \
  21. \
  22. The current value of nproc can be gotten from the nmi> monitor.  On a running system do the following:\
  23. \
  24. Hold down both Command keys while typing the tilde/backquote key (the upper left key on the numeric keypad.             (This puts you in the NMI monitor.)\
  25. \
  26. At the "nmi>"  prompt, query the value of nproc by:\
  27. \
  28.  
  29. \f3\fs32 nmi>
  30. \b nproc=
  31. \b0 \
  32.  
  33. \f0\fs28 \
  34. This will return the current value of nproc in hexidecimal.\
  35. \
  36. Also note that the maximum number of processes in 1.0 that a user can create is 40 (decimal).  This limit cannot be increased.\
  37. \
  38.  
  39. A:
  40. \b   Release 2.0
  41. \b0 :  \
  42. nproc is no longer part of the 2.0 kernel--the process table grows dynamically.  The maximum number of user processes has been increased from 40 to 100.\
  43. \
  44. QA471\
  45. \
  46. Valid for 1.0 \
  47. Valid for 2.0\
  48. \
  49.  
  50.